﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EquipmentManagement.Domain.Entities
{
    /// <summary>
    /// 工装夹具实体
    /// </summary>
    [SqlSugar.SugarTable("ToolingFixtures")]
    public class ToolingFixtures : BaseEntity
    {
        /// <summary>
        /// 序列号
        /// </summary>
        public string SerialNumber { get; set; }
        /// <summary>
        /// 工装夹具类型（外键数据字典）
        /// </summary>
        public string TypeId { get; set; }
        /// <summary>
        /// 工装夹具规格
        /// </summary>
        public string Size { get; set; }
        /// <summary>
        /// 工装夹具型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        /// 工装夹具品牌
        /// </summary>
        public string Brand { get; set; }
        /// <summary>
        /// 工装夹具数量
        /// </summary>
        public int Num { get; set; }
        /// <summary>
        /// 工装夹具使用寿命
        /// </summary>
        public int ServiceLife { get; set; }
        /// <summary>
        /// 工装夹具所属单位（外键数据字典）
        /// </summary>
        public string UnitId { get; set; }
        /// <summary>
        /// 工装夹具供应商（外键）
        /// </summary>
        public string SupplierId { get; set; }
        /// <summary>
        /// 工装夹具备注
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string? Remark { get; set; }
        /// <summary>
        /// 扩展字段
        /// </summary>
        [SqlSugar.SugarColumn(IsNullable = true)]
        public string? One { get; set; }
    }
}
